<?php
namespace ImiApp\Module\Member\Model\Base;

use Imi\Model\Model as Model;
use Imi\Model\Annotation\DDL;
use Imi\Model\Annotation\Table;
use Imi\Model\Annotation\Column;
use Imi\Model\Annotation\Entity;

/**
 * 测试表 基类
 * @Entity
 * @Table(name="fa_test", id={"id"})
 * @DDL("CREATE TABLE `fa_test` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_id` int(10) DEFAULT '0' COMMENT '会员ID',
  `admin_id` int(10) DEFAULT '0' COMMENT '管理员ID',
  `category_id` int(10) unsigned DEFAULT '0' COMMENT '分类ID(单选)',
  `category_ids` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '分类ID(多选)',
  `tags` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '标签',
  `week` enum('monday','tuesday','wednesday') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '星期(单选):monday=星期一,tuesday=星期二,wednesday=星期三',
  `flag` set('hot','index','recommend') COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '标志(多选):hot=热门,index=首页,recommend=推荐',
  `genderdata` enum('male','female') COLLATE utf8mb4_unicode_ci DEFAULT 'male' COMMENT '性别(单选):male=男,female=女',
  `hobbydata` set('music','reading','swimming') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '爱好(多选):music=音乐,reading=读书,swimming=游泳',
  `title` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '标题',
  `content` text COLLATE utf8mb4_unicode_ci COMMENT '内容',
  `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '图片',
  `images` varchar(1500) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '图片组',
  `attachfile` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '附件',
  `keywords` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '关键字',
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '描述',
  `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '省市',
  `json` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '配置:key=名称,value=值',
  `multiplejson` varchar(1500) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '二维数组:title=标题,intro=介绍,author=作者,age=年龄',
  `price` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '价格',
  `views` int(10) unsigned DEFAULT '0' COMMENT '点击',
  `workrange` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '时间区间',
  `startdate` date DEFAULT NULL COMMENT '开始日期',
  `activitytime` datetime DEFAULT NULL COMMENT '活动时间(datetime)',
  `year` year(4) DEFAULT NULL COMMENT '年',
  `times` time DEFAULT NULL COMMENT '时间',
  `refreshtime` int(10) DEFAULT NULL COMMENT '刷新时间(int)',
  `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
  `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
  `deletetime` int(10) DEFAULT NULL COMMENT '删除时间',
  `weigh` int(10) DEFAULT '0' COMMENT '权重',
  `switch` tinyint(1) DEFAULT '0' COMMENT '开关',
  `status` enum('normal','hidden') COLLATE utf8mb4_unicode_ci DEFAULT 'normal' COMMENT '状态',
  `state` enum('0','1','2') COLLATE utf8mb4_unicode_ci DEFAULT '1' COMMENT '状态值:0=禁用,1=正常,2=推荐',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='测试表'")
 * @property int $id ID
 * @property int $userId 会员ID
 * @property int $adminId 管理员ID
 * @property int $categoryId 分类ID(单选)
 * @property string $categoryIds 分类ID(多选)
 * @property string $tags 标签
 * @property string $week 星期(单选):monday=星期一,tuesday=星期二,wednesday=星期三
 * @property string $flag 标志(多选):hot=热门,index=首页,recommend=推荐
 * @property string $genderdata 性别(单选):male=男,female=女
 * @property string $hobbydata 爱好(多选):music=音乐,reading=读书,swimming=游泳
 * @property string $title 标题
 * @property string $content 内容
 * @property string $image 图片
 * @property string $images 图片组
 * @property string $attachfile 附件
 * @property string $keywords 关键字
 * @property string $description 描述
 * @property string $city 省市
 * @property string $json 配置:key=名称,value=值
 * @property string $multiplejson 二维数组:title=标题,intro=介绍,author=作者,age=年龄
 * @property float $price 价格
 * @property int $views 点击
 * @property string $workrange 时间区间
 * @property string $startdate 开始日期
 * @property string $activitytime 活动时间(datetime)
 * @property int $year 年
 * @property string $times 时间
 * @property int $refreshtime 刷新时间(int)
 * @property int $createtime 创建时间
 * @property int $updatetime 更新时间
 * @property int $deletetime 删除时间
 * @property int $weigh 权重
 * @property int $switch 开关
 * @property string $status 状态
 * @property string $state 状态值:0=禁用,1=正常,2=推荐
 */
abstract class TestBase extends Model
{
    /**
     * ID
     * id
     * @Column(name="id", type="int", length=10, accuracy=0, nullable=false, default="", isPrimaryKey=true, primaryKeyIndex=0, isAutoIncrement=true)
     * @var int
     */
    protected $id;

    /**
     * 获取 id - ID
     *
     * @return int
     */ 
    public function getId()
    {
        return $this->id;
    }

    /**
     * 赋值 id - ID
     * @param int $id id
     * @return static
     */ 
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }

    /**
     * 会员ID
     * user_id
     * @Column(name="user_id", type="int", length=10, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $userId;

    /**
     * 获取 userId - 会员ID
     *
     * @return int
     */ 
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * 赋值 userId - 会员ID
     * @param int $userId user_id
     * @return static
     */ 
    public function setUserId($userId)
    {
        $this->userId = $userId;
        return $this;
    }

    /**
     * 管理员ID
     * admin_id
     * @Column(name="admin_id", type="int", length=10, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $adminId;

    /**
     * 获取 adminId - 管理员ID
     *
     * @return int
     */ 
    public function getAdminId()
    {
        return $this->adminId;
    }

    /**
     * 赋值 adminId - 管理员ID
     * @param int $adminId admin_id
     * @return static
     */ 
    public function setAdminId($adminId)
    {
        $this->adminId = $adminId;
        return $this;
    }

    /**
     * 分类ID(单选)
     * category_id
     * @Column(name="category_id", type="int", length=10, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $categoryId;

    /**
     * 获取 categoryId - 分类ID(单选)
     *
     * @return int
     */ 
    public function getCategoryId()
    {
        return $this->categoryId;
    }

    /**
     * 赋值 categoryId - 分类ID(单选)
     * @param int $categoryId category_id
     * @return static
     */ 
    public function setCategoryId($categoryId)
    {
        $this->categoryId = $categoryId;
        return $this;
    }

    /**
     * 分类ID(多选)
     * category_ids
     * @Column(name="category_ids", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $categoryIds;

    /**
     * 获取 categoryIds - 分类ID(多选)
     *
     * @return string
     */ 
    public function getCategoryIds()
    {
        return $this->categoryIds;
    }

    /**
     * 赋值 categoryIds - 分类ID(多选)
     * @param string $categoryIds category_ids
     * @return static
     */ 
    public function setCategoryIds($categoryIds)
    {
        $this->categoryIds = $categoryIds;
        return $this;
    }

    /**
     * 标签
     * tags
     * @Column(name="tags", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $tags;

    /**
     * 获取 tags - 标签
     *
     * @return string
     */ 
    public function getTags()
    {
        return $this->tags;
    }

    /**
     * 赋值 tags - 标签
     * @param string $tags tags
     * @return static
     */ 
    public function setTags($tags)
    {
        $this->tags = $tags;
        return $this;
    }

    /**
     * 星期(单选):monday=星期一,tuesday=星期二,wednesday=星期三
     * week
     * @Column(name="week", type="enum", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $week;

    /**
     * 获取 week - 星期(单选):monday=星期一,tuesday=星期二,wednesday=星期三
     *
     * @return string
     */ 
    public function getWeek()
    {
        return $this->week;
    }

    /**
     * 赋值 week - 星期(单选):monday=星期一,tuesday=星期二,wednesday=星期三
     * @param string $week week
     * @return static
     */ 
    public function setWeek($week)
    {
        $this->week = $week;
        return $this;
    }

    /**
     * 标志(多选):hot=热门,index=首页,recommend=推荐
     * flag
     * @Column(name="flag", type="set", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $flag;

    /**
     * 获取 flag - 标志(多选):hot=热门,index=首页,recommend=推荐
     *
     * @return string
     */ 
    public function getFlag()
    {
        return $this->flag;
    }

    /**
     * 赋值 flag - 标志(多选):hot=热门,index=首页,recommend=推荐
     * @param string $flag flag
     * @return static
     */ 
    public function setFlag($flag)
    {
        $this->flag = $flag;
        return $this;
    }

    /**
     * 性别(单选):male=男,female=女
     * genderdata
     * @Column(name="genderdata", type="enum", length=0, accuracy=0, nullable=true, default="male", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $genderdata;

    /**
     * 获取 genderdata - 性别(单选):male=男,female=女
     *
     * @return string
     */ 
    public function getGenderdata()
    {
        return $this->genderdata;
    }

    /**
     * 赋值 genderdata - 性别(单选):male=男,female=女
     * @param string $genderdata genderdata
     * @return static
     */ 
    public function setGenderdata($genderdata)
    {
        $this->genderdata = $genderdata;
        return $this;
    }

    /**
     * 爱好(多选):music=音乐,reading=读书,swimming=游泳
     * hobbydata
     * @Column(name="hobbydata", type="set", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $hobbydata;

    /**
     * 获取 hobbydata - 爱好(多选):music=音乐,reading=读书,swimming=游泳
     *
     * @return string
     */ 
    public function getHobbydata()
    {
        return $this->hobbydata;
    }

    /**
     * 赋值 hobbydata - 爱好(多选):music=音乐,reading=读书,swimming=游泳
     * @param string $hobbydata hobbydata
     * @return static
     */ 
    public function setHobbydata($hobbydata)
    {
        $this->hobbydata = $hobbydata;
        return $this;
    }

    /**
     * 标题
     * title
     * @Column(name="title", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $title;

    /**
     * 获取 title - 标题
     *
     * @return string
     */ 
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * 赋值 title - 标题
     * @param string $title title
     * @return static
     */ 
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }

    /**
     * 内容
     * content
     * @Column(name="content", type="text", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $content;

    /**
     * 获取 content - 内容
     *
     * @return string
     */ 
    public function getContent()
    {
        return $this->content;
    }

    /**
     * 赋值 content - 内容
     * @param string $content content
     * @return static
     */ 
    public function setContent($content)
    {
        $this->content = $content;
        return $this;
    }

    /**
     * 图片
     * image
     * @Column(name="image", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $image;

    /**
     * 获取 image - 图片
     *
     * @return string
     */ 
    public function getImage()
    {
        return $this->image;
    }

    /**
     * 赋值 image - 图片
     * @param string $image image
     * @return static
     */ 
    public function setImage($image)
    {
        $this->image = $image;
        return $this;
    }

    /**
     * 图片组
     * images
     * @Column(name="images", type="varchar", length=1500, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $images;

    /**
     * 获取 images - 图片组
     *
     * @return string
     */ 
    public function getImages()
    {
        return $this->images;
    }

    /**
     * 赋值 images - 图片组
     * @param string $images images
     * @return static
     */ 
    public function setImages($images)
    {
        $this->images = $images;
        return $this;
    }

    /**
     * 附件
     * attachfile
     * @Column(name="attachfile", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $attachfile;

    /**
     * 获取 attachfile - 附件
     *
     * @return string
     */ 
    public function getAttachfile()
    {
        return $this->attachfile;
    }

    /**
     * 赋值 attachfile - 附件
     * @param string $attachfile attachfile
     * @return static
     */ 
    public function setAttachfile($attachfile)
    {
        $this->attachfile = $attachfile;
        return $this;
    }

    /**
     * 关键字
     * keywords
     * @Column(name="keywords", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $keywords;

    /**
     * 获取 keywords - 关键字
     *
     * @return string
     */ 
    public function getKeywords()
    {
        return $this->keywords;
    }

    /**
     * 赋值 keywords - 关键字
     * @param string $keywords keywords
     * @return static
     */ 
    public function setKeywords($keywords)
    {
        $this->keywords = $keywords;
        return $this;
    }

    /**
     * 描述
     * description
     * @Column(name="description", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $description;

    /**
     * 获取 description - 描述
     *
     * @return string
     */ 
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * 赋值 description - 描述
     * @param string $description description
     * @return static
     */ 
    public function setDescription($description)
    {
        $this->description = $description;
        return $this;
    }

    /**
     * 省市
     * city
     * @Column(name="city", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $city;

    /**
     * 获取 city - 省市
     *
     * @return string
     */ 
    public function getCity()
    {
        return $this->city;
    }

    /**
     * 赋值 city - 省市
     * @param string $city city
     * @return static
     */ 
    public function setCity($city)
    {
        $this->city = $city;
        return $this;
    }

    /**
     * 配置:key=名称,value=值
     * json
     * @Column(name="json", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $json;

    /**
     * 获取 json - 配置:key=名称,value=值
     *
     * @return string
     */ 
    public function getJson()
    {
        return $this->json;
    }

    /**
     * 赋值 json - 配置:key=名称,value=值
     * @param string $json json
     * @return static
     */ 
    public function setJson($json)
    {
        $this->json = $json;
        return $this;
    }

    /**
     * 二维数组:title=标题,intro=介绍,author=作者,age=年龄
     * multiplejson
     * @Column(name="multiplejson", type="varchar", length=1500, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $multiplejson;

    /**
     * 获取 multiplejson - 二维数组:title=标题,intro=介绍,author=作者,age=年龄
     *
     * @return string
     */ 
    public function getMultiplejson()
    {
        return $this->multiplejson;
    }

    /**
     * 赋值 multiplejson - 二维数组:title=标题,intro=介绍,author=作者,age=年龄
     * @param string $multiplejson multiplejson
     * @return static
     */ 
    public function setMultiplejson($multiplejson)
    {
        $this->multiplejson = $multiplejson;
        return $this;
    }

    /**
     * 价格
     * price
     * @Column(name="price", type="decimal", length=10, accuracy=2, nullable=true, default="0.00", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var float
     */
    protected $price;

    /**
     * 获取 price - 价格
     *
     * @return float
     */ 
    public function getPrice()
    {
        return $this->price;
    }

    /**
     * 赋值 price - 价格
     * @param float $price price
     * @return static
     */ 
    public function setPrice($price)
    {
        $this->price = $price;
        return $this;
    }

    /**
     * 点击
     * views
     * @Column(name="views", type="int", length=10, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $views;

    /**
     * 获取 views - 点击
     *
     * @return int
     */ 
    public function getViews()
    {
        return $this->views;
    }

    /**
     * 赋值 views - 点击
     * @param int $views views
     * @return static
     */ 
    public function setViews($views)
    {
        $this->views = $views;
        return $this;
    }

    /**
     * 时间区间
     * workrange
     * @Column(name="workrange", type="varchar", length=100, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $workrange;

    /**
     * 获取 workrange - 时间区间
     *
     * @return string
     */ 
    public function getWorkrange()
    {
        return $this->workrange;
    }

    /**
     * 赋值 workrange - 时间区间
     * @param string $workrange workrange
     * @return static
     */ 
    public function setWorkrange($workrange)
    {
        $this->workrange = $workrange;
        return $this;
    }

    /**
     * 开始日期
     * startdate
     * @Column(name="startdate", type="date", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $startdate;

    /**
     * 获取 startdate - 开始日期
     *
     * @return string
     */ 
    public function getStartdate()
    {
        return $this->startdate;
    }

    /**
     * 赋值 startdate - 开始日期
     * @param string $startdate startdate
     * @return static
     */ 
    public function setStartdate($startdate)
    {
        $this->startdate = $startdate;
        return $this;
    }

    /**
     * 活动时间(datetime)
     * activitytime
     * @Column(name="activitytime", type="datetime", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $activitytime;

    /**
     * 获取 activitytime - 活动时间(datetime)
     *
     * @return string
     */ 
    public function getActivitytime()
    {
        return $this->activitytime;
    }

    /**
     * 赋值 activitytime - 活动时间(datetime)
     * @param string $activitytime activitytime
     * @return static
     */ 
    public function setActivitytime($activitytime)
    {
        $this->activitytime = $activitytime;
        return $this;
    }

    /**
     * 年
     * year
     * @Column(name="year", type="year", length=4, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $year;

    /**
     * 获取 year - 年
     *
     * @return int
     */ 
    public function getYear()
    {
        return $this->year;
    }

    /**
     * 赋值 year - 年
     * @param int $year year
     * @return static
     */ 
    public function setYear($year)
    {
        $this->year = $year;
        return $this;
    }

    /**
     * 时间
     * times
     * @Column(name="times", type="time", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $times;

    /**
     * 获取 times - 时间
     *
     * @return string
     */ 
    public function getTimes()
    {
        return $this->times;
    }

    /**
     * 赋值 times - 时间
     * @param string $times times
     * @return static
     */ 
    public function setTimes($times)
    {
        $this->times = $times;
        return $this;
    }

    /**
     * 刷新时间(int)
     * refreshtime
     * @Column(name="refreshtime", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $refreshtime;

    /**
     * 获取 refreshtime - 刷新时间(int)
     *
     * @return int
     */ 
    public function getRefreshtime()
    {
        return $this->refreshtime;
    }

    /**
     * 赋值 refreshtime - 刷新时间(int)
     * @param int $refreshtime refreshtime
     * @return static
     */ 
    public function setRefreshtime($refreshtime)
    {
        $this->refreshtime = $refreshtime;
        return $this;
    }

    /**
     * 创建时间
     * createtime
     * @Column(name="createtime", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $createtime;

    /**
     * 获取 createtime - 创建时间
     *
     * @return int
     */ 
    public function getCreatetime()
    {
        return $this->createtime;
    }

    /**
     * 赋值 createtime - 创建时间
     * @param int $createtime createtime
     * @return static
     */ 
    public function setCreatetime($createtime)
    {
        $this->createtime = $createtime;
        return $this;
    }

    /**
     * 更新时间
     * updatetime
     * @Column(name="updatetime", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $updatetime;

    /**
     * 获取 updatetime - 更新时间
     *
     * @return int
     */ 
    public function getUpdatetime()
    {
        return $this->updatetime;
    }

    /**
     * 赋值 updatetime - 更新时间
     * @param int $updatetime updatetime
     * @return static
     */ 
    public function setUpdatetime($updatetime)
    {
        $this->updatetime = $updatetime;
        return $this;
    }

    /**
     * 删除时间
     * deletetime
     * @Column(name="deletetime", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $deletetime;

    /**
     * 获取 deletetime - 删除时间
     *
     * @return int
     */ 
    public function getDeletetime()
    {
        return $this->deletetime;
    }

    /**
     * 赋值 deletetime - 删除时间
     * @param int $deletetime deletetime
     * @return static
     */ 
    public function setDeletetime($deletetime)
    {
        $this->deletetime = $deletetime;
        return $this;
    }

    /**
     * 权重
     * weigh
     * @Column(name="weigh", type="int", length=10, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $weigh;

    /**
     * 获取 weigh - 权重
     *
     * @return int
     */ 
    public function getWeigh()
    {
        return $this->weigh;
    }

    /**
     * 赋值 weigh - 权重
     * @param int $weigh weigh
     * @return static
     */ 
    public function setWeigh($weigh)
    {
        $this->weigh = $weigh;
        return $this;
    }

    /**
     * 开关
     * switch
     * @Column(name="switch", type="tinyint", length=1, accuracy=0, nullable=true, default="0", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $switch;

    /**
     * 获取 switch - 开关
     *
     * @return int
     */ 
    public function getSwitch()
    {
        return $this->switch;
    }

    /**
     * 赋值 switch - 开关
     * @param int $switch switch
     * @return static
     */ 
    public function setSwitch($switch)
    {
        $this->switch = $switch;
        return $this;
    }

    /**
     * 状态
     * status
     * @Column(name="status", type="enum", length=0, accuracy=0, nullable=true, default="normal", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $status;

    /**
     * 获取 status - 状态
     *
     * @return string
     */ 
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * 赋值 status - 状态
     * @param string $status status
     * @return static
     */ 
    public function setStatus($status)
    {
        $this->status = $status;
        return $this;
    }

    /**
     * 状态值:0=禁用,1=正常,2=推荐
     * state
     * @Column(name="state", type="enum", length=0, accuracy=0, nullable=true, default="1", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $state;

    /**
     * 获取 state - 状态值:0=禁用,1=正常,2=推荐
     *
     * @return string
     */ 
    public function getState()
    {
        return $this->state;
    }

    /**
     * 赋值 state - 状态值:0=禁用,1=正常,2=推荐
     * @param string $state state
     * @return static
     */ 
    public function setState($state)
    {
        $this->state = $state;
        return $this;
    }

}
